package com.sakura.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ProductVO {
    private Integer productId;
    private String name;

    //要关联查询的数据，userId和userName
    private Integer uid;
    @TableField(value = "user_name")
    private String userName;
}
